.ys-slideNav{
    width: 300px;
    position: relative;
}
.ys-slideNav.ys-have-icon .ys-nav-item>.ys-nav-item-con .ys-nav-item-tit{
    padding-left: 45px;
}
.ys-slideNav .ys-nav-item{
    position: relative;
    overflow: hidden;
}
.ys-slideNav .ys-nav-item-tit,.ys-packedNav-tit{
    position: relative;
    color:#000;
    display: block;
    height: 45px;
    line-height: 45px;
    padding:0 30px 0 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
}
.ys-slideNav .ys-nav-item-tit span{
    display:inline-block;
    vertical-align: middle;
}
.ys-slideNav .ys-nav-item-tit+.ys-icon-down{
    position: absolute;
    right:10px;
    top:9px;
}
.ys-slideNav .ys-nav-item.ys-on>.ys-nav-item-tit{
    color:#14AE68;
}
.ys-slideNav .ys-nav-item.ys-on>.ys-nav-item-tit+.ys-icon-down{
    color:#14AE68;
    transition: all 0.3s;
    transform:rotateZ(180deg);
}
.ys-slideNav .ys-nav-item-tit:hover+.ys-icon-down{
    color:#fff;
}
.ys-slideNav .ys-nav-item>.ys-nav-item-con{
    display:none;

}
.ys-slideNav .ys-nav-item.ys-on>.ys-nav-item-con{
    display:block;
    overflow: hidden;
    animation: slideToggle 0.3s forwards;
}
@keyframes slideToggle {
    from{
        opacity: 0;
        transform: translateX(30%);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}

.ys-slideNav>.ys-nav-item>.ys-nav-item-tit{
    background-color: #F0F9EB;
    font-size: 15px;
}
.ys-slideNav .ys-nav-item-tit:hover{
    background-color:#14AE68;
    color:#fff!important;
}
.ys-slideNav .ys-nav-item-tit:hover+.ys-icon-down{
    color:#fff!important;
}
.ys-slideNav .ys-on.ys-nav-item-end .ys-nav-item-tit:before{
    position: absolute;
    content: '';
    top:0;
    bottom: 0;
    left:0;
    width: 4px;
    background-color:#00b2ee;
    animation: titBefore 0.3s forwards;
}
.ys-slideNav .ys-on.ys-nav-item-end .ys-nav-item-tit{
    background-color:#14AE68;
    color:#fff;
}
@keyframes titBefore {
    0%{
        height: 0;
    }
    100%{
        height: 100%;
    }
}
.ys-nav-tit-icon{
    position: relative;
    width:35px;
    height: 35px;
    line-height: 35px;
}
.ys-nav-tit-icon img:first-child{
    display:inline;
    transition: all 0.3s;
}
.ys-nav-tit-icon img:first-child+img{
    display: none;
    transition: all 0.3s;
}

.ys-slideNav .ys-packedNav-tit:hover .ys-nav-tit-icon img,.ys-slideNav .ys-nav-item-tit:hover .ys-nav-tit-icon img:first-child,.ys-packedNav .ys-on .ys-nav-tit-icon img:first-child{
    display:none;
}
.ys-slideNav .ys-packedNav-tit:hover .ys-nav-tit-icon img:last-child,.ys-slideNav .ys-nav-item-tit:hover .ys-nav-tit-icon img:last-child,.ys-packedNav .ys-on .ys-nav-tit-icon img:last-child{
    display:inline /*防止只有一个图片*/
}
/*ys-packedNav*/
.ys-packedNav{
    border: 1px solid #ddd;
    border-left: none;
    width: 40px;
}

.ys-packedNav-item{
    position: relative;
    line-height: 45px;
}
.ys-packedNav-con{
    display: none;
    position: absolute;
    top:0;
    line-height: 45px;
    left:199px;
    width: 200px;
    background-color: #fff;
    box-shadow: 0 0 10px #ddd;
    text-align: left;
    animation: ypc .5s forwards;
}
@keyframes  ypc {
    0%{top:50px;opacity: 0}
    100%{top:0;opacity: 1}
}
.ys-packedNav>.ys-packedNav-item{
    position: relative;
    width: 40px;
    vertical-align: middle;
    text-align: center;
}
.ys-packedNav>.ys-packedNav-item>.ys-packedNav-con{
    left:40px;
}
.ys-packedNav-item:hover>.ys-packedNav-con{
    display: block;
}
.ys-packedNav-tit:hover{
    background-color: #F0F9EB;
    cursor: pointer;
}
.ys-packedNav>.ys-packedNav-item>.ys-packedNav-tit{
    padding: 0 0;
}
.ys-packedNav>.ys-packedNav-item>.ys-packedNav-tit .ys-tit-word,.ys-packedNav>.ys-packedNav-item>.ys-packedNav-tit+.ys-icon-right{
    display: none;
}
.ys-packedNav>.ys-packedNav-item>.ys-packedNav-tit:hover,.ys-packedNav-item.ys-on>.ys-packedNav-tit{
    background-color: #14AE68;
    color:#fff;
}
.ys-packedNav-item.ys-on>.ys-packedNav-tit+.ys-icon-right{
    color:#fff;
}
.ys-packedNav-item .ys-icon-right{
    position: absolute;
    top:0px;
    right:5px;
    color:#000
}